package com.wulian.user.dto;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 *@Description:()
 * @author  caifulin
 * @date  2020/6/12 10:48
 * @version 1.0
 */
@Data
@ApiModel("手表异常登出")
@ToString
public class QueryLogOutWatchWarningDto {


    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("项目id")
    private Integer projectId;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    @ApiModelProperty("开始时间")
    private Date startDate;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    @ApiModelProperty("结束时间")
    private Date endDate;

    @ApiModelProperty("删除标识【0未删除，1已删除】")
    private Integer delFlag;

    @ApiModelProperty("工头Id")
    private Integer registerName;

}